package com.tengju.bff.interfaces.manage.crm.motivation.form;

import com.tengju.user.application.archives.dto.PageQueryDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @author: 李大仙
 * @date: 2021/7/23 4:09 下午
 */
@Data
@ApiModel(value = "GetPerformanceObjectiveCommonListForm", description = "分页查询常规绩效目标列表参数")
public class GetPerformanceObjectiveCommonListForm extends PageQueryDTO {

    @ApiModelProperty(value = "日期")
    @NotBlank(message = "日期不能为空")
    @Length(min = 6, max = 6, message = "日期不正确")
    private String time;

    @ApiModelProperty(value = "SEC用户ID")
    private Long secIdCode;

    @ApiModelProperty(value = "负责人ID")
    private Long chiefId;
}
